<template>
  <div>
    <el-input
      v-model="app_name"
      placeholder="基于应用名称筛选"
      style="width:260px"
    >
      <el-button
        slot="append"
        icon="el-icon-search"
        @click="searchByAppName"
      ></el-button
    ></el-input>

    <el-button type="primary" style="float:right;" @click="linkCluster"
      >连接已有集群</el-button
    >
  </div>
</template>

<script>
export default {
  data() {
    return {
      options: [],
      app_name: "",
    };
  },
  methods: {
    searchByAppName() {},
    linkCluster() {
      this.$emit("link");
    },
  },
};
</script>

<style></style>
